package com.coolt.client.ui;

import com.coolt.client.ui.AppConstants;
import com.coolt.client.ui.Link;
import com.coolt.client.ui.Pesquisa;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Hyperlink;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.gwtext.client.widgets.form.ComboBox;
import com.gwtext.client.widgets.form.TextField;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;

public class Logo extends Composite  {
	
		private static final AppConstants CONSTANTS = (AppConstants) GWT.create(AppConstants.class);
	
		public Logo() {
			final AbsolutePanel absolutePanel = new AbsolutePanel();
			//horizontalPanel.add(absolutePanel);
			//final HorizontalPanel horizontalPanel = new HorizontalPanel();
			initWidget(absolutePanel);
			absolutePanel.setStyleName("fundo_topo");

			final HorizontalPanel horizontalPanel = new HorizontalPanel();
			absolutePanel.add(horizontalPanel);
			//horizontalPanel.setSize("162", "62");

			

			final VerticalPanel verticalPanel = new VerticalPanel();
			horizontalPanel.add(verticalPanel);

			final Label cooltLabel = new Label(CONSTANTS.cooltLabel_text());
			verticalPanel.add(cooltLabel);
			cooltLabel.setStyleName("logoTxtMaior");

			final Label loucosLabel = new Label(CONSTANTS.loucosLabel_text());
			loucosLabel.setStyleName("logoTxtMenor");
			verticalPanel.add(loucosLabel);
			loucosLabel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_LEFT);

			final Image image = new Image();
			horizontalPanel.add(image);
			image.setUrl("imagem/logoCoolt.png");
			setSize("158", "62");
			
		
		
		
			
	}
	
}
